<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>志愿填报注册</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/hadmin/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/hadmin/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="css/hadmin/css/animate.css" rel="stylesheet">
    <link href="css/hadmin/css/style.css?v=4.1.0" rel="stylesheet">
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
	<style type="text/css">
	body{
	background-image:url("img/zylogo.jpg");
	
	}
	
	
	</style>
</head>

<body class="gray-bg" id="body">

    <div class="middle-box text-center loginscreen   animated fadeInDown">
        <div>
            <div>

                <h1 class="logo-name">ZTE</h1>

            </div>
            <h3>高考志愿填报</h3>
            <p><font  id="er3" color="red">${msg }</font></p>
            <p>创建一个新账户</p>
            <form class="m-t" role="form" action="toRegister.action" id="form" method="post">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="请输入手机号" required="" id="phoneno" name="phoneno" onkeyup="value=value.replace(/[^\d]/g,'')">
                </div>
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="请输入姓名" required="" id="name" name="name">
                </div>
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="请输入准考证号" onkeyup="value=value.replace(/[^\d]/g,'')" required="" id="cardno" name="cardno">
                </div>
                 <div class="form-group">
                    <input type="text" class="form-control" placeholder="请输入成绩" onkeyup="value=value.replace(/[^\d]/g,'')" required="" id="score" name="score">
                </div>
                <div class="form-group text-left">
                    <div class="checkbox i-checks">
                        <label class="no-padding">
                         
                    </div>
                </div>
                <button type="submit" class="btn btn-primary block full-width m-b">注 册</button>


            </form>
        </div>
    </div>

    <!-- 全局js -->
    <script src="js/hadmin/js/jquery.min.js?v=2.1.4"></script>
    <script src="js/hadmin/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- iCheck -->
    <script src="js/hadmin/js/plugins/iCheck/icheck.min.js"></script>
    <script>
        $(document).ready(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
        });
    </script>
<script type="text/javascript">
	$("#form").submit(function(){
	var name = $("#name").val();
	var phoneno = $("#phoneno").val();
	var cardno = $("#cardno").val();
	var score = $("#score").val();
	if(name===null||name===""){
		alert("请输入你的姓名");
         return false;
	}else if(phoneno===null||phoneno===""){
		alert("请输入你的手机号");
         return false;
	
	}else if(cardno===null||cardno===""){
		alert("请输入你的准考证号");
         return false;
	
	}else if(score===null||score===""){
		alert("请输入你的分数");
         return false;
	
	}
		return true;
	
});
		 </script>
    
    

</body>

</html>

